import React from 'react';
class VoteFooter extends React.Component {
	render() {
		return <footer style={{
			background: 'lightblue'
		}}>
			<button onClick={ev => {
				window.$sub.$emit(0);
			}}>支持</button>
			<button onClick={ev => {
				window.$sub.$emit(1);
			}}>反对</button>
		</footer>;
	}
}
export default VoteFooter;